package yuyue;

import nafos.server.shutdown.ShutdownHandle;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName Config
 * @Description TODO
 * @Author hxy
 * @Date 2020/1/13 1:08
 */
@Configuration
public class Config {


    @Bean
    public ShutdownHandle shutdownHandle(){
        return () -> {
            System.out.println("========停机时间处理");
        };
    }
}
